Package words.ranges

Source Code of words.ranges.AsposeDeleteRange

package words.ranges;

import com.aspose.words.Document;

public class AsposeDeleteRange
{
  public static void main(String[] args) throws Exception
  {
    Document doc = new Document("data/document.doc");
    doc.getSections().get(0).getRange().delete();
   
    String text = doc.getRange().getText();
   
    System.out.println("Range: " + text);
  }
}
TOP

Related Classes of words.ranges.AsposeDeleteRange

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.